Skip to content

com.inscoper.nbo.SampleHolder

Represents the XML element SampleHolder. More...

Inherits from com.inscoper.nbo.ManufacturerSpec_Type, com.inscoper.nbo.NBOBaseClass

Public Functions

Name
synchronized void delete()
SampleHolder()
String getTypeName()
Returns the class type name.
String getXMLName()
Returns the XML element name corresponding to this class.
ENBOType getNBOType()
Returns the NBO Type corresponding to this class.
NBOBaseClassVector getChildren()
Returns a list of all classes derived from this class.
NBOBaseClassVector getSubElements()
Returns a list of all child elements contained in this class.
void fromJsonFile(String path, boolean validate)
Populates this object from a JSON file.
void fromJsonFile(String path)
Populates this object from a JSON file.
void fromJsonString(String json_string, boolean validate)
Populates this object from a JSON string.
void fromJsonString(String json_string)
Populates this object from a JSON string.
void fromXmlFile(String path, boolean validate)
Populates this object from a XML file.
void fromXmlFile(String path)
Populates this object from a XML file.
void fromXmlString(String xml_string, boolean validate)
Populates this object from a XML string.
void fromXmlString(String xml_string)
Populates this object from a XML string.
void toXmlFile(String filename, boolean validate)
Serializes this object to an XML file.
void toXmlFile(String filename)
Serializes this object to an XML file.
String toXmlString(boolean validate)
Serializes this object to an XML string.
String toXmlString()
Serializes this object to an XML string.
void setID(LSID_Type value, boolean validate)
Sets the value of the ID attribute.
void setID(LSID_Type value)
Sets the value of the ID attribute.
LSID_Type getID()
Returns the value of the ID attribute.
void resetID()
Resets the ID attribute to an unset state.
boolean hasID()
Checks whether the optional ID attribute is present.
void setType(String value, boolean validate)
Sets the value of the Type attribute.
void setType(String value)
Sets the value of the Type attribute.
String getType()
Returns the value of the Type attribute.
void resetType()
Resets the Type attribute to an unset state.
boolean hasType()
Checks whether the Type attribute is present.
SampleHolder __internal_create(long cPtr, boolean own)
SampleHolder fromBase(NBOBaseClass base)
Cast a NBOBaseClass to a CMOS.
StringSet getTypeAllowedValues()
Returns the allowed values for this attribut.

Protected Functions

Name
SampleHolder(long cPtr, boolean cMemoryOwn)
void swigSetCMemOwn(boolean own)
void finalize()
long getCPtr(SampleHolder obj)

Additional inherited members

Public Functions inherited from com.inscoper.nbo.ManufacturerSpec_Type

Name
ManufacturerSpec_Type()
void setManufacturer(String value, boolean validate)
Sets the value of the Manufacturer attribute.
void setManufacturer(String value)
Sets the value of the Manufacturer attribute.
String getManufacturer()
Returns the value of the Manufacturer attribute.
void resetManufacturer()
Resets the Manufacturer attribute to an unset state.
boolean hasManufacturer()
Checks whether the Manufacturer attribute is present.
void setModel(String value, boolean validate)
Sets the value of the Model attribute.
void setModel(String value)
Sets the value of the Model attribute.
String getModel()
Returns the value of the Model attribute.
void resetModel()
Resets the Model attribute to an unset state.
boolean hasModel()
Checks whether the Model attribute is present.
void setCatalogNumber(String value, boolean validate)
Sets the value of the CatalogNumber attribute.
void setCatalogNumber(String value)
Sets the value of the CatalogNumber attribute.
String getCatalogNumber()
Returns the value of the CatalogNumber attribute.
void resetCatalogNumber()
Resets the CatalogNumber attribute to an unset state.
boolean hasCatalogNumber()
Checks whether the CatalogNumber attribute is present.
void setLotNumber(String value, boolean validate)
Sets the value of the LotNumber attribute.
void setLotNumber(String value)
Sets the value of the LotNumber attribute.
String getLotNumber()
Returns the value of the LotNumber attribute.
void resetLotNumber()
Resets the LotNumber attribute to an unset state.
boolean hasLotNumber()
Checks whether the LotNumber attribute is present.
void setMapAnnotation_List(MapAnnotationVector value, boolean validate)
Sets the list of MapAnnotation elements.
void setMapAnnotation_List(MapAnnotationVector value)
Sets the list of MapAnnotation elements.
MapAnnotationVector getMapAnnotation_List()
Returns the list of MapAnnotation elements.
void addToMapAnnotation_List(MapAnnotation value, boolean validate)
Adds a new MapAnnotation element to this object.
void addToMapAnnotation_List(MapAnnotation value)
Adds a new MapAnnotation element to this object.
void clearMapAnnotation_List()
Clear the list of MapAnnotation.
void setSpecsFile(FileAnnotation_Type value, boolean validate)
Sets the value of the SpecsFile element.
void setSpecsFile(FileAnnotation_Type value)
Sets the value of the SpecsFile element.
FileAnnotation_Type getSpecsFile()
Returns the value of the SpecsFile element.
void resetSpecsFile()
Resets the SpecsFile element to an unset state.
boolean hasSpecsFile()
Checks whether the optional SpecsFile element is present.
void setAdditionalVendorInformation_List(AdditionalVendorInformationVector value, boolean validate)
Sets the list of AdditionalVendorInformation elements.
void setAdditionalVendorInformation_List(AdditionalVendorInformationVector value)
Sets the list of AdditionalVendorInformation elements.
AdditionalVendorInformationVector getAdditionalVendorInformation_List()
Returns the list of AdditionalVendorInformation elements.
void addToAdditionalVendorInformation_List(AdditionalVendorInformation value, boolean validate)
Adds a new AdditionalVendorInformation element to this object.
void addToAdditionalVendorInformation_List(AdditionalVendorInformation value)
Adds a new AdditionalVendorInformation element to this object.
void clearAdditionalVendorInformation_List()
Clear the list of AdditionalVendorInformation.
StringSet getManufacturerAllowedValues()
Returns the allowed values for this attribut.
StringSet getModelAllowedValues()
Returns the allowed values for this attribut.
StringSet getCatalogNumberAllowedValues()
Returns the allowed values for this attribut.
StringSet getLotNumberAllowedValues()
Returns the allowed values for this attribut.

Protected Functions inherited from com.inscoper.nbo.ManufacturerSpec_Type

Name
ManufacturerSpec_Type(long cPtr, boolean cMemoryOwn)

Protected Functions inherited from com.inscoper.nbo.NBOBaseClass

Name
NBOBaseClass(long cPtr, boolean cMemoryOwn)

Detailed Description

public class com.inscoper.nbo.SampleHolder;

Represents the XML element SampleHolder.

This element describes the device (often referred to as Sample Carrier, Container or Vessel) on which the specimen was mounted for microscopical examination. It typically is flat and it could be made of glass or plastic. Examples include Microscope slides, Petri dishes, and multi-well plates.

Public Functions Documentation

function delete

public synchronized void delete()

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.delete

function SampleHolder

public SampleHolder()

function getTypeName

public String getTypeName()

Returns the class type name.

Return: The class type name

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.getTypeName

function getXMLName

public String getXMLName()

Returns the XML element name corresponding to this class.

Return: The XML element name

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.getXMLName

function getNBOType

public ENBOType getNBOType()

Returns the NBO Type corresponding to this class.

Return: The NBO Type value

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.getNBOType

function getChildren

public NBOBaseClassVector getChildren()

Returns a list of all classes derived from this class.

Return: The list of derived classes

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.getChildren

function getSubElements

public NBOBaseClassVector getSubElements()

Returns a list of all child elements contained in this class.

Return: The list of child classes

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.getSubElements

function fromJsonFile

public void fromJsonFile(
    String path,
    boolean validate
)

Populates this object from a JSON file.

Parameters:

  • path The path to the JSON file
  • validate If true, validates constraints on value. Default is true.

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.fromJsonFile

function fromJsonFile

public void fromJsonFile(
    String path
)

Populates this object from a JSON file.

Parameters:

  • path The path to the JSON file

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.fromJsonFile

function fromJsonString

public void fromJsonString(
    String json_string,
    boolean validate
)

Populates this object from a JSON string.

Parameters:

  • json_string The JSON content as a string
  • validate If true, validates constraints on value. Default is true.

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.fromJsonString

function fromJsonString

public void fromJsonString(
    String json_string
)

Populates this object from a JSON string.

Parameters:

  • json_string The JSON content as a string

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.fromJsonString

function fromXmlFile

public void fromXmlFile(
    String path,
    boolean validate
)

Populates this object from a XML file.

Parameters:

  • path The path to the XML file
  • validate If true, validates constraints on value. Default is true.

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.fromXmlFile

function fromXmlFile

public void fromXmlFile(
    String path
)

Populates this object from a XML file.

Parameters:

  • path The path to the XML file

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.fromXmlFile

function fromXmlString

public void fromXmlString(
    String xml_string,
    boolean validate
)

Populates this object from a XML string.

Parameters:

  • xml_string The XML content as a string
  • validate If true, validates constraints on value. Default is true.

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.fromXmlString

function fromXmlString

public void fromXmlString(
    String xml_string
)

Populates this object from a XML string.

Parameters:

  • xml_string The XML content as a string

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.fromXmlString

function toXmlFile

public void toXmlFile(
    String filename,
    boolean validate
)

Serializes this object to an XML file.

Parameters:

  • filename The path to the output XML file
  • validate If true, validates constraints on value. Default is true.

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.toXmlFile

function toXmlFile

public void toXmlFile(
    String filename
)

Serializes this object to an XML file.

Parameters:

  • filename The path to the output XML file

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.toXmlFile

function toXmlString

public String toXmlString(
    boolean validate
)

Serializes this object to an XML string.

Parameters:

  • validate If true, validates constraints on value. Default is true.

Return: A string containing the XML representation of this object

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.toXmlString

function toXmlString

public String toXmlString()

Serializes this object to an XML string.

Return: A string containing the XML representation of this object

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.toXmlString

function setID

public void setID(
    LSID_Type value,
    boolean validate
)

Sets the value of the ID attribute.

Parameters:

  • value The value to set
  • validate If true, validates constraints on value. Default is true.

A Unique Identifier for this component.

function setID

public void setID(
    LSID_Type value
)

Sets the value of the ID attribute.

Parameters:

  • value The value to set

A Unique Identifier for this component.

function getID

public LSID_Type getID()

Returns the value of the ID attribute.

Return: The value of the attribute

A Unique Identifier for this component.

function resetID

public void resetID()

Resets the ID attribute to an unset state.

A Unique Identifier for this component.

function hasID

public boolean hasID()

Checks whether the optional ID attribute is present.

Return: true if the optional attribute has been set, false otherwise

A Unique Identifier for this component.

function setType

public void setType(
    String value,
    boolean validate
)

Sets the value of the Type attribute.

Parameters:

  • value The value to set
  • validate If true, validates constraints on value. Default is true.

This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).

function setType

public void setType(
    String value
)

Sets the value of the Type attribute.

Parameters:

  • value The value to set

This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).

function getType

public String getType()

Returns the value of the Type attribute.

Return: The value of the attribute

This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).

function resetType

public void resetType()

Resets the Type attribute to an unset state.

This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).

function hasType

public boolean hasType()

Checks whether the Type attribute is present.

Return: true if the attribute has been set, false otherwise

This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).

function __internal_create

public static SampleHolder __internal_create(
    long cPtr,
    boolean own
)

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.__internal_create

function fromBase

public static SampleHolder fromBase(
    NBOBaseClass base
)

Cast a NBOBaseClass to a CMOS.

Parameters:

  • base The base class to cast

Return: The casted element, or nullptr if the cast fails

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.fromBase

function getTypeAllowedValues

public static StringSet getTypeAllowedValues()

Returns the allowed values for this attribut.

Return: The list of allowed values

This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).

Protected Functions Documentation

function SampleHolder

protected SampleHolder(
    long cPtr,
    boolean cMemoryOwn
)

function swigSetCMemOwn

protected void swigSetCMemOwn(
    boolean own
)

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.swigSetCMemOwn

function finalize

protected void finalize()

Reimplements: com.inscoper.nbo.ManufacturerSpec_Type.finalize

function getCPtr

protected static long getCPtr(
    SampleHolder obj
)

Updated on 2026-06-22 at 17:06:32 +0200